package com.sxapp.service.servImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sxapp.entity.User;
import com.sxapp.mapper.UserMapper;
import com.sxapp.service.UserService;

@Service
public class UserServImpl implements UserService {

	@Autowired
	UserMapper userMapper;
	
	@Override
	public List<User> select_allUser() {
		List<User> userList = userMapper.select_allUser();
		return userList;
	}

	@Override
	public void import_addUser(User user) throws Exception {
		userMapper.import_addUser(user);
	}

}
